from enum import Enum


class ReportType(Enum):
    TYPE_1 = ("1", "无后缀")
    TYPE_2 = ("2", "另外sheet页")

    def __init__(self, code, desc):
        self.code = code  # 唯一标识
        self.desc = desc  # 描述文本

    def __str__(self):
        return self.code
